<template>
  <div class="child">
    <ul class="list-group">
      <li class="list-item" v-for="item in list" :key="item">
        {{ item }}
      </li>
    </ul>
  </div>
</template>

<script setup>
import { inject } from 'vue';

const list = inject('list')
</script>

<style>
</style>